@space: 0px;
@border_light: #d9d9d9;
@border_dark: #868686;

.modalDefault() {
  :global {
    .ant-modal-content {
      background-color: #222629 !important;
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        background-color: #222629 !important;
        border-bottom: 0;
      }

      .ant-modal-body {
        padding: @space;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }

      .ant-btn {
        border-radius: 5px;
      }

      .ant-btn-primary {
        background: #18a0fb;
        border-color: var(--bd-primary);
      }
    }
  }
}

.modal {
  .modalDefault();

  .titleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    .left {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-right: 20px;
      .titleLogo {
        width: 30px;
        height: 30px;
        margin-right: 10px;
      }

      .title {
        font-weight: 500;
        font-size: 18px;
        font-family: PingFang SC;
        line-height: 18px;
        letter-spacing: 0;
        text-align: left;
      }
    }
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 586px;
    padding: 22px 24px 22px 24px;
    overflow: hidden;
    .tooltip {
      position: absolute;
      height: 20px;
      font-size: 12px;
      line-height: 20px;
    }
    .perCent {
      position: absolute;
      right: -12px;
      z-index: 2;
      display: flex;
      align-items: center;
      height: 25px;
      margin-right: 12px;
      overflow: hidden;
      color: var(--bd-primary);
      font-size: 14px;
      cursor: pointer;
      user-select: none;
      :global {
        .ant-btn {
          padding: 5px 25px !important;
          font-size: 12px !important;
          border-radius: 5px !important;
        }
      }
    }
    .pitchPerCent {
      color: #0d6cac !important;
      img {
        margin-top: 44px !important;
        filter: drop-shadow(#0d6cac 0 -22px);
      }
    }
  }
}
